//
//  UMPTouch.h
//  UMPDemo
//
//  Created by Jonathan Diehl on 19.01.09.
//  Copyright 2009 Media Computing Group. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface UMPTouch : NSObject {
	CGFloat pressure;
	NSPoint point;
	
	CGFloat previousPressure;
	NSPoint previousPoint;
}

@property(nonatomic) CGFloat pressure;
@property(nonatomic) NSPoint point;

@property(nonatomic) CGFloat previousPressure;
@property(nonatomic) NSPoint previousPoint;

@property(readonly) CGFloat x;
@property(readonly) CGFloat y;

- (id)initWithPoint:(NSPoint)aPoint pressure:(CGFloat)aPressure;
- (id)updateWithPoint:(NSPoint)aPoint pressure:(CGFloat)aPressure;

@end
